package super_;

public class A extends Base  {
    //四个属性
    public int n1 = 100;
    protected int n2 = 200;
    int n3 = 300;
    private int n4 = 400;

    //构造器

    public A() {

    }
    public A(String name) {

    }
    public A(String name, int age) {

    }
    //方法
    public void test100() {

    }

    protected void test200() {

    }

    void test300() {

    }
//super细节
    public void cal() {
        System.out.println("父类(A)的cal()方法...");
    }
}
